package org.example.Visitor;

/**
 * @author wangbin
 * @date 2024/4/19
 * @vesion 1.0
 */
public class Client {
    public static void main(String[] args) {
        ObjectStructure structure = new ObjectStructure();
        structure.attach(new Man());
        structure.attach(new Woman());
        Success success = new Success();

        structure.display(success);
    }
}
